package edu.kit.los;

/**
 * Klasse zur Modellierung der unterschiedlichen Anbieter (für automatische
 * Anfrage in servlets.Servlet)
 * @author Benedikt Fuss, Felix Kiechle AIFB@KIT
 *
 */
public enum Carrier {
	FACEBOOK{
		public String getURL(int limit, String query){
			return "http://kit-outsourcing1.appspot.com/facebook?query=" + query + "&limit=" + limit;
		}
	},
	EVENTFUL{
		public String getURL(int limit, String query){
			return "http://kit-outsourcing2.appspot.com/eventful?query=" + query + "&limit=" + limit;
		}
	},
	UPCOMING{
		public String getURL(int limit, String query){
			return "http://kit-outsourcing4.appspot.com/upcoming?query=" + query + "&limit=" + limit;
		}
	},;
	public abstract String getURL(int limit, String query);
}


